package com.yqd.d3_abstract.demo2;

public class MainTest {
    public static void main(String[] args) {
        Student student1=new StudentChild();
        student1.write();

        Student student2=new StudentMid();
        student2.write();
    }
}
